package com.imooc.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author lhy
 * @Date 2021/10/21 15:32
 */
@FeignClient("eureka-client" /*服务名称*/)
public interface IService {
    @GetMapping("/sayHi")
    String sayHi( @RequestParam("timeOut")
                          Integer timeOut);
}
